#ifndef __XRTC_SERVER_AUDIO_AUDIO_SEND_STREAM_H
#define __XRTC_SERVER_AUDIO_AUDIO_SEND_STREAM_H
#include "audio/audio_send_stream_config.h"
#include "modules/rtp_rtcp/rtp_rtcp_impl.h"
#include <modules/rtp_rtcp/source/rtp_packet_to_send.h>
namespace xrtc
{
    class AudioSendStream
    {
    public:
        AudioSendStream(const AudioSendStreamConfig &config);
        ~AudioSendStream();
        void UpdateRtpStat(int64_t now_ms, const webrtc::RtpPacketToSend &packet);
        void SetSrInfo(uint32_t rtp_timestamp, webrtc::NtpTime ntp);

    private:
        AudioSendStreamConfig config_;
        std::unique_ptr<RtpRtcpImpl> rtp_rtcp_;
    };

} // namespace xrtc
#endif